/**
 * 
 */
package com.googlecode.easyibatis.core.model.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author zxq
 * 
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OneToMany {
	abstract String name() default "";

	String columnName();

	String referencedTableName();

	abstract String referencedColumnName() default "id";

	abstract String[] selectReferencedColumnNames() default {"id"};
}
